package com.wing.bill.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.bill.model.entity.BillOrdPayInformation;
import com.wing.bill.model.request.BillOrdPayInformationForm;
import com.wing.bill.model.response.BillOrdPayInformationVO;
import com.wing.common.utils.JsonResult;

import java.util.List;
import java.util.Map;

/**
 * 账单付款信息-Service
 *
 * @author
 */
public interface BillOrdPayInformationService extends IService<BillOrdPayInformation> {

    /**
     * 添加
     *
     * @param billOrdPayInformationForm
     * @return
     */
    int add(BillOrdPayInformationForm billOrdPayInformationForm);

    /**
     * 列表-app
     *
     * @param params
     *
     * @return
     */
    List<BillOrdPayInformationVO> list4app(Map<String, Object> params);

    /**
     * 分页list-app
     *
     * @param page
     * @param params
     *
     * @return
     */
    Page<BillOrdPayInformationVO> pageList4app(Page page, Map<String, Object> params);

    /**
     * 详情-app
     *
     * @param id
     *
     * @return
     */
    BillOrdPayInformationVO get4appById(Long id);

    JsonResult addAll(BillOrdPayInformationForm billOrdPayInformationForm);
}
